<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<fmt:setBundle basename="ApplicationMessage" />
<fmt:setLocale value="zh_CN" />

<div class="form-horizontal">
  <c:if test="${type eq 'online'}">
    <div class="form-group">
      <label class="control-label col-xs-2">创建时间：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">${not empty healthInvestigation.createTime ? healthInvestigation.createTime : '无'}</p>
      </div>
    </div>
    
    <div class="form-group">
      <label class="control-label col-xs-2">个人疾病史：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">${healthInvestigation.disease}</p>
      </div>
      <label class="control-label col-xs-2">疾病备注：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">${not empty healthInvestigation.diseaseRemarks ? healthInvestigation.diseaseRemarks : '无'}</p>
      </div>
    </div>
    
    <div class="form-group">
      <label class="control-label col-xs-2">运动疾病史：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">${not empty healthInvestigation.sportInjuries ? healthInvestigation.sportInjuries : '否'}</p>
      </div>
      <label class="control-label col-xs-2">运动习惯：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">${not empty healthInvestigation.exerciseHabit ? healthInvestigation.exerciseHabit : '否'}</p>
      </div>
    </div>
    
    <div class="form-group">
      <label class="control-label col-xs-2">是否怀孕：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">${not empty healthInvestigation.pregnant ? healthInvestigation.pregnant : '否'}</p>
      </div>
      <label class="control-label col-xs-2">生理期：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">${not empty healthInvestigation.menstruation ? healthInvestigation.menstruation : '否'}</p>
      </div>
    </div>
    
    <div class="form-group">
      <label class="control-label col-xs-2">备孕：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">${not empty healthInvestigation.preparePregnant ? healthInvestigation.preparePregnant : '否'}</p>
      </div>
      <label class="control-label col-xs-2">肠胃：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">${not empty healthInvestigation.stomach ? healthInvestigation.stomach : '否'}</p>
      </div>
    </div>
    
    <div class="form-group">
      <label class="control-label col-xs-2">暴食：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">${not empty healthInvestigation.gluttony ? healthInvestigation.gluttony : '否'}</p>
      </div>
      <label class="control-label col-xs-2">饮食偏好：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">${not empty healthInvestigation.foodPreference ? healthInvestigation.foodPreference : '否'}</p>
      </div>
    </div>
    
    <div class="form-group">
      <label class="control-label col-xs-2">工作安排：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">${not empty healthInvestigation.workArrangements ? healthInvestigation.workArrangements : '否'}</p>
      </div>
      <label class="control-label col-xs-2">其他健康问题：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">${not empty healthInvestigation.remarks ? healthInvestigation.remarks : '否'}</p>
      </div>
    </div>
    
    <div class="x-breadcrumb-wrapper" style="margin-top:20px;">
      <div class="x-breadcrumb yellow clearfix">
        <h2>
          <span>其他小调查</span>
        </h2>
      </div>
    </div>
    
    <div class="form-group">
      <label class="control-label col-xs-2">创建时间：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">${not empty participateInvestigation.createTime ? participateInvestigation.createTime : '无'}</p>
      </div>
    </div>
    
    <div class="form-group">
      <label class="control-label col-xs-2">渠道来源：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">${not empty participateInvestigation.source.description ? participateInvestigation.source.description : '无'}</p>
      </div>
      <label class="control-label col-xs-2">其他渠道来源：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">${not empty participateInvestigation.sourceRemarks ? participateInvestigation.sourceRemarks : '无'}</p>
      </div>
    </div>                    
    
    <div class="form-group">
      <label class="control-label col-xs-2">参与因素：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">${not empty participateInvestigation.reason.description ? participateInvestigation.reason.description : '无'}</p>
      </div>
      <label class="control-label col-xs-2">其他因素：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">${not empty participateInvestigation.reasonRemarks ? participateInvestigation.reasonRemarks : '无'}</p>
      </div>
    </div>   
    
    <div class="form-group">
      <label class="control-label col-xs-2">期望：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">${not empty participateInvestigation.expectation.description ? participateInvestigation.expectation.description : '无'}</p>
      </div>
      <label class="control-label col-xs-2">其他期望：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">${not empty participateInvestigation.expectionRemarks ? participateInvestigation.expectionRemarks : '无'}</p>
      </div>
    </div>
    
    <div class="x-breadcrumb-wrapper" style="margin-top:20px;">
      <div class="x-breadcrumb yellow clearfix">
        <h2>
          <span>老学员填写</span>
        </h2>
      </div>
    </div>
    <div class="form-group">
      <label class="control-label col-xs-2">参营号：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">${not empty participateInvestigation.camp ? participateInvestigation.camp : '无'}</p>
      </div>
      <label class="control-label col-xs-2">督教名称：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">${not empty participateInvestigation.coach ? participateInvestigation.coach : '无'}</p>
      </div>
    </div>
  
  </c:if>
  
   <div class="x-breadcrumb-wrapper" style="margin-top:20px;">
     <div class="x-breadcrumb yellow clearfix">
       <h2>
         <span>档案信息</span>
       </h2>
     </div>
   </div>
   
   <div class="form-group">
     <label class="control-label col-xs-2">学员编号：</label>
     <div class="col-xs-4 pull-left">
       <p class="form-control-static">${user.mobile}</p>
     </div>
   </div>
   
   <div class="form-group">
     <label class="control-label col-xs-2">学员姓名：</label>
     <div class="col-xs-4 pull-left">
       <p class="form-control-static">${user.name}</p>
     </div>
     <label class="control-label col-xs-2">学员性别：</label>
     <div class="col-xs-4 pull-left">
      <p class="form-control-static">${user.userFit.gender.description}</p>
     </div>
   </div>                    
 
   <div class="form-group">
     <label class="control-label col-xs-2">学员年龄：</label>
     <div class="col-xs-4 pull-left">
       <p class="form-control-static">${user.userFit.age}</p>
     </div>
     <label class="control-label col-xs-2">出生日期：</label>
     <div class="col-xs-4 pull-left">
       <p class="form-control-static">${user.profile.birthday}</p>
     </div>
    </div>
    
    <div class="form-group">
     <label class="control-label col-xs-2">学员身高：</label>
     <div class="col-xs-4 pull-left">
       <p class="form-control-static">${user.userFit.height}</p>
     </div>
     <label class="control-label col-xs-2">学员职业：</label>
     <div class="col-xs-4 pull-left">
       <p class="form-control-static">${user.remark.position}</p>
     </div>
    </div>
    
    <div class="form-group">
     <label class="control-label col-xs-2">如何得知人马君：</label>
     <div class="col-xs-4 pull-left">
       <p class="form-control-static">${user.remark.awareChannel}</p>
     </div>
     <label class="control-label col-xs-2">学员体重：</label>
     <div class="col-xs-4 pull-left">
       <p class="form-control-static">${user.userFit.weight}</p>
     </div>
    </div>
    
    <div class="form-group">
     <label class="control-label col-xs-2">所在城市：</label>
     <div class="col-xs-4 pull-left">
       <p class="form-control-static">${user.profile.province}省&nbsp;&nbsp;${user.profile.region}市&nbsp;&nbsp;${user.profile.district}县</p>
     </div>
    </div>
    
    <div class="form-group">
     <label class="control-label col-xs-2">年收入：</label>
     <div class="col-xs-4 pull-left">
       <p class="form-control-static">${user.remark.salary}&nbsp;&nbsp;元</p>
     </div>
     <label class="control-label col-xs-2">电子邮箱：</label>
     <div class="col-xs-4 pull-left">
       <p class="form-control-static">${user.mailbox}</p>
     </div>
    </div>
    
    <div class="form-group">
     <label class="control-label col-xs-2">所在公司类型：</label>
     <div class="col-xs-4 pull-left">
       <p class="form-control-static">${user.remark.company}</p>
     </div>
     <label class="control-label col-xs-2">联系地址：</label>
     <div class="col-xs-4 pull-left">
       <p class="form-control-static">${user.profile.address}</p>
     </div>
    </div>
    
    <div class="form-group">
     <label class="control-label col-xs-2">婚姻状况：</label>
     <div class="col-xs-4 pull-left">
       <p class="form-control-static">${user.profile.marriage}</p>
     </div>
     <label class="control-label col-xs-2">是否有子女：</label>
     <div class="col-xs-4 pull-left">
       <p class="form-control-static">${user.profile.haveKids}</p>
     </div>
    </div>
    
    <div class="form-group">
     <label class="control-label col-xs-2">兴趣爱好：</label>
     <div class="col-xs-4 pull-left">
       <p class="form-control-static">${user.profile.hobby}</p>
     </div>
     <label class="control-label col-xs-2">紧急联系方式：</label>
     <div class="col-xs-4 pull-left">
       <p class="form-control-static">${user.profile.emergency}</p>
     </div>
    </div>
    
    <div class="form-group">
     <label class="control-label col-xs-2">来访渠道：</label>
     <div class="col-xs-4 pull-left">
       <p class="form-control-static">${user.remark.visitChannel}</p>
     </div>
     <label class="control-label col-xs-2">关注健身讯息渠道：</label>
     <div class="col-xs-4 pull-left">
       <p class="form-control-static">${user.remark.followChannel}</p>
     </div>
    </div>
   

</div>

